/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.inheritance.inheritancecomplient.children;

import za.ac.cput.inheritance.inheritancecomplient.astract.Student;

/**
 *
 * @author given
 */
public class PostgradReg extends Student {

    @Override
    public String getLevel() {
        return level;
    }

    @Override
    public void setLevel(String level) {
        this.level = level;
    }

   
    public String getMtech() {
        return mtech;
    }

    public void setMtech(String mtech) {
        this.mtech = mtech;
    }
    
    @Override
    public String toString(){
        return "Student number: " + this.getStudNum() + "\nName: " + this.getName() + "\nSurname: " + this.getSurname() +
                "\nUndergrade Course: " + getMtech() + "\nLevel: " + getLevel();
    }
}
